local zaoshi = fk.CreateSkill{
    name = "lingling__zaoshi",
    tags = {Skill.Compulsory}
}
Fk:loadTranslationTable{
    ["lingling__zaoshi"] = "造势",
    [":lingling__zaoshi"] = "锁定技，你的拼点牌点数+X（X为你装备区牌数）。",
}

zaoshi:addEffect(fk.PindianCardsDisplayed, {
    anim_type = "control",
    can_trigger = function(self, event, target, player, data)
        if player:hasSkill(zaoshi.name) and #player:getCardIds("e") > 0 then
            if player == data.from then
                return data.fromCard
            elseif data.results[player] then
                return data.results[player].toCard
            end
        end
    end,
    on_use = function(self, event, target, player, data)
        player.room:changePindianNumber(data, player, #player:getCardIds("e"), zaoshi.name)
    end,
})

return zaoshi